Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_SW_INQATTRS

EOS_SW_INQATTRS

This function retrieves information about attributes defined in swath. The attribute list is returned as a string with each attribute name separated by commas.

Note: See STRSPLIT to separate the attribute list.

Syntax

Result = EOS_SW_INQATTRS( swathID, attrlist [, LENGTH=variable] )

Return Value

Number of attributes found or (–1) if failure.

Arguments

swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.

attrlist

A named variable that will contain the attribute list (string) with entries separated by commas.

Keywords

LENGTH

Set this keyword to a named variable that will contain the length of the attribute list as a long integer.

Examples

nattr = EOS_SW_INQATTRS(swathID, attrlist)

Version History

 

5.2

Introduced